9ce5c73d5ad4f7810654f870e460f43000c6657a,library/generators/org/webpki/json/JSONBaseHTML.java,JSONBaseHTML,addJSONSignatureDefinitions,#boolean#String#String#boolean#,1257

Before Change


            .newColumn ()
              .addString (jcs)
              .addString ("EC curve point X. The length of this field <b>must</b> " +
                          "be the full size of a coordinate for the curve specified in the <code>" + 
                          JSONSignatureDecoder.CURVE_JSON + "</code> parameter.  For example, " +
                          "if the value of <code>" + JSONSignatureDecoder.CURVE_JSON + "</code> is <code>")
              .addString (KeyAlgorithms.NIST_P_521.getAlgorithmId (AlgorithmPreferences.SKS))
              .addString ("</code>, the <i>decoded</i> argument <b>must</b> be 66 bytes")
          .newRow ()
            .newColumn ()
              .addProperty (JSONSignatureDecoder.Y_JSON)
              .addSymbolicValue (JSONSignatureDecoder.Y_JSON)
            .newColumn ()
              .setType (Types.WEBPKI_DATA_TYPES.BASE64)
            .newColumn ()
            .newColumn ()
              .addString (jcs)
              .addString ("EC curve point Y. The length of this field <b>must</b> " +
                          "be the full size of a coordinate for the curve specified in the <code>" + 
                          JSONSignatureDecoder.CURVE_JSON + "</code> parameter.  For example, " +
                          "if the value of <code>" + JSONSignatureDecoder.CURVE_JSON + "</code> is <code>")
              .addString (KeyAlgorithms.NIST_P_521.getAlgorithmId (AlgorithmPreferences.SKS))
              .addString ("</code>, the <i>decoded</i> argument <b>must</b> be 66 bytes.");

        addSubItemTable (JCS_PUBLIC_KEY_RSA)

After Change


                .addString (sks_alg_ref)
                .addString ("The currently recognized EC curves include:" +
                        enumerateStandardAlgorithms (KeyAlgorithms.values (), false, true))
                .addString (reference ?
  "The NIST algorithms are described in FIPS 186-4 " + createReference (REF_FIPS186) +
  ", while Brainpool algorithms are covered by RFC 5639 " + createReference (REF_BRAINPOOL) + ". " + Types.LINE_SEPARATOR +
  "The algorithm names were derived from the SKS " + createReference (REF_SKS) + " specification. " + 
  Types.LINE_SEPARATOR : "")
                 .addString ("A subset of the EC curves may also be expressed in the JWS " +  createReference (REF_JWS) + 
                             " notation:")
                 .addString (enumerateJOSEAlgorithms (KeyAlgorithms.values ()))
          .newRow ()
            .newColumn ()
              .addProperty (JSONSignatureDecoder.X_JSON)
              .addSymbolicValue (JSONSignatureDecoder.X_JSON)
            .newColumn ()
              .setType (Types.WEBPKI_DATA_TYPES.BASE64)
            .newColumn ()
            .newColumn ()
              .addString (jcs)
              .addString ("EC curve point X.")
              .addString (reference ?
                          " The length of this field <b>must</b> " +
                          "be the full size of a coordinate for the curve specified in the <code>" + 
                          JSONSignatureDecoder.CURVE_JSON + "</code> parameter.  For example, " +
                          "if the value of <code>" + JSONSignatureDecoder.CURVE_JSON + "</code> is <code>" +
                          KeyAlgorithms.NIST_P_521.getAlgorithmId (AlgorithmPreferences.SKS) +
                          "</code>, the <i>decoded</i> argument <b>must</b> be 66 bytes." : "")
          .newRow ()
            .newColumn ()
              .addProperty (JSONSignatureDecoder.Y_JSON)
              .addSymbolicValue (JSONSignatureDecoder.Y_JSON)
            .newColumn ()
              .setType (Types.WEBPKI_DATA_TYPES.BASE64)
            .newColumn ()
            .newColumn ()
              .addString (jcs)
              .addString ("EC curve point Y.")
              .addString (reference ?
                          " The length of this field <b>must</b> " +
                          "be the full size of a coordinate for the curve specified in the <code>" + 
                          JSONSignatureDecoder.CURVE_JSON + "</code> parameter.  For example, " +
                          "if the value of <code>" + JSONSignatureDecoder.CURVE_JSON + "</code> is <code>" +
                          KeyAlgorithms.NIST_P_521.getAlgorithmId (AlgorithmPreferences.SKS) +
                          "</code>, the <i>decoded</i> argument <b>must</b> be 66 bytes." : "");

        addSubItemTable (JCS_PUBLIC_KEY_RSA)
          .newRow ()